package com.lagou.sqlSession;

import com.lagou.pojo.Configuration;
import com.lagou.pojo.MappedStatement;

import java.util.List;

/**
 * @author 13771
 * @date 2020/7/23 13:54
 * @description
 */
public interface Executor {
    public <E> List<E> query(Configuration configuration, MappedStatement mappedStatement,Object... params) throws Exception;

    public void update(Configuration configuration, MappedStatement mappedStatement,Object... params) throws Exception;
}
